//
//  SMSCell.m
//  OASystem
//
//  Created by zhoupengfei on 15/11/30.
//  Copyright © 2015年 zpf. All rights reserved.
//

#import "SMSCell.h"

@implementation SMSCell

- (void)awakeFromNib {
    // Initialization
    [super awakeFromNib];
}
-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{


    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
     

        
    }
    return self;
}

+(instancetype)cellWithTableView:(UITableView*)tableView{
    static NSString * cellIdentifier = @"UnDoneCell";
    SMSCell * cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifier];
    if (cell == nil) {
        cell  = [[[NSBundle mainBundle] loadNibNamed:@"SMSCell" owner:nil options:nil] lastObject];
    }
 
    return cell;
}

-(void)setModel:(SMSCell *)model{
    _model = model;
    self.titleLabel.text = _model.acceptphoneuser;
        self.subjectLabel.text = _model.subject;
   
}

@end
